package utils;

public class UrlPathUtil {
    public static String getBasePath(String path){
        int index = path.indexOf("?");
        if(index == -1){
            return path;
        }else{
            return path.substring(0,index);
        }
    }
}
